package cn.edu.scau.cmi.guihao.domin.singleMultipleModel;

public class Chairman {
	
	private String name;
	private static Chairman instance=null;
	public Chairman(String name){
		this.name = name;	
	}
	
	public static Chairman getInstanceChairman() {
		if(instance==null) {
			instance=new Chairman("毛泽东");
		}
		return instance;
	}
	
	public static Chairman getInstance() {
		return instance;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
}
